use std::ops::{Mul, Div};

use glam::Vec2;
fn main() {
    let v = Vec2{x: 1.0, y: 5.0};
    let u = v*2.0;
    let mut w = v-u;
    w /= 3.0;
    print!("u = {:?}\n", u);
    print!("v = {:?}\n", v);
    print!("w = {:?}\n", w);

    let v = Vec2{x: 1.0, y: 5.0};
    let u = v.mul(2.0);
    let mut w = v-u;//dont have static function to subtraction in tis lib like Vec2::Sub(v, u), but it is ok)))
    w = w.div(3.0);

    print!("u = {:?}\n", u);
    print!("v = {:?}\n", v);
    print!("w = {:?}\n", w);
}
